@echo off
echo --Making Temporary Directory
md "tmp"
md "tmp\afesocketserver"
echo --Copying source to temporary Directory
xcopy /Q /Y /s src\afesocketserver tmp\afesocketserver
echo --Compiling Code
cd tmp\afesocketserver
E:\eclipse-java-galileo-win32\eclipse\jre\bin\javac *.java
echo --Running Program
cd ../
E:\eclipse-java-galileo-win32\eclipse\jre\bin\java afesocketserver/Main
echo --Deleteing Files
cd ../
cd tmp\afesocketserver
del /Q *
echo --Deleteing 'afesocketserver'
cd ../
rd afesocketserver
echo --Deleteing 'tmp'
cd ../
rd tmp